﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IWMAG.Scripting.Types {
    public abstract class CodeType {
        public static CodeType Void = new PrimitiveType(PrimitiveType.Primitive.Void);
        public static CodeType Bool = new PrimitiveType(PrimitiveType.Primitive.Bool);
        public static CodeType Int = new PrimitiveType(PrimitiveType.Primitive.Int);
        public static CodeType Real = new PrimitiveType(PrimitiveType.Primitive.Real);
        public static CodeType String = new PrimitiveType(PrimitiveType.Primitive.String);
        public static CodeType Auto = new PrimitiveType(PrimitiveType.Primitive.Auto);

        public override string ToString() {
            return base.ToString();
        }
    }
}
